package com.example.cardgame

class ProgramModel {
    fun getSuggestion(question: String): String {
        return when {
            question.contains("逻辑", ignoreCase = true) -> context.getString(R.string.suggestion_1)
            question.contains("构建", ignoreCase = true) -> context.getString(R.string.suggestion_2)
            question.contains("资源", ignoreCase = true) -> context.getString(R.string.suggestion_3)
            else -> context.getString(R.string.default_text)
        }
    }
}